﻿namespace Traffic.Entity;

/// <summary>
/// 系统操作帐号
/// </summary>
public partial class SysAccount
{
    public int Id { get; set; }

    /// <summary>
    /// 对应Business.ID
    /// </summary>
    public int BusinessId { get; set; }

    public int? RoleId { get; set; }

    /// <summary>
    /// 用户名
    /// </summary>
    public string UserName { get; set; } = null!;

    /// <summary>
    /// 密码
    /// </summary>
    public string Password { get; set; } = null!;

    public string? DepId { get; set; }

    /// <summary>
    /// 部门名称
    /// </summary>
    public string? DepartName { get; set; }

    /// <summary>
    /// 职级
    /// </summary>
    public string? JobGrade { get; set; }

    /// <summary>
    /// 基本工资
    /// </summary>
    public decimal BaseWage { get; set; }

    /// <summary>
    /// 绑定公众号ID
    /// </summary>
    public string? WxOpenId { get; set; }

    /// <summary>
    /// 真实姓名
    /// </summary>
    public string? RealName { get; set; }

    /// <summary>
    /// 手机号码
    /// </summary>
    public string? Mobile { get; set; }

    /// <summary>
    /// 创建日期
    /// </summary>
    public DateTime CreateDate { get; set; }

    public string? Token { get; set; }

    /// <summary>
    /// 状态  默认1：正常   0：停用
    /// </summary>
    public bool Status { get; set; }
}
